<HTML><HEAD><TITLE>ProtocolFactory</TITLE></HEAD>
<BODY>
<!#CLASSDEF
ProtocolFactory
#ENDCLASSDEF>
<H1>ProtocolFactory</H1>

<P>The protocol factory is a singleton that is always in existence - it manages
the creation functions for different protocols.  
<P>Protocols should each provide a factory method that creates the protocol from
a list of strings - these being the fields (as divided by colons) of the
protocol id.  
<H2>Methods</H2>
<UL>
<LI><A HREF="#__init__(self)">__init__(self)</A>
<LI><A HREF="#create(self,_protoId)">create(self, protoId)</A>
<LI><A HREF="#register(self,_protoTypeId,_protoFact)">register(self, protoTypeId, protoFact)</A>
</UL>
<A NAME="__init__">
<A NAME="__init__(self)">
<H3>__init__(self)</H3>
<PRE>
   def __init__(self):
</PRE>

<A NAME="create">
<A NAME="create(self,_protoId)">
<H3>create(self, protoId)</H3>
<PRE>
   def create(self, protoId):
</PRE>

<A NAME="register">
<A NAME="register(self,_protoTypeId,_protoFact)">
<H3>register(self, protoTypeId, protoFact)</H3>
<PRE>
   def register(self, protoTypeId, protoFact):
</PRE>

</BODY></HTML>
